local UnitName = UnitName
function oUF.handlers:UNIT_NAME_UPDATE(event, unit)
	ChatFrame1:AddMessage(string.format("%s %s %s %s", tostring(self), event, unit, self.unit))
	if self.unit ~= unit then return end
	local name = UnitName(unit)

	self.Name:SetText(name)
end

oUF.subTypes["Name"] = "UNIT_NAME_UPDATE"
oUF.updateTypes["Name"] = "UNIT_NAME_UPDATE"
